package com.ruoyi.control.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; //添加
import com.ruoyi.control.domain.AuxiliaryFan;

/**
 * 局扇Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-03
 */
public interface AuxiliaryFanMapper extends BaseMapper<AuxiliaryFan> //修改
{
    /**
     * 查询局扇
     *
     * @param tagName 局扇主键
     * @return 局扇
     */
    public AuxiliaryFan selectAuxiliaryFanByTagName(String tagName);

    /**
     * 查询局扇列表
     *
     * @param auxiliaryFan 局扇
     * @return 局扇集合
     */
    public List<AuxiliaryFan> selectAuxiliaryFanList(AuxiliaryFan auxiliaryFan);

    /**
     * 新增局扇
     *
     * @param auxiliaryFan 局扇
     * @return 结果
     */
    public int insertAuxiliaryFan(AuxiliaryFan auxiliaryFan);

    /**
     * 修改局扇
     *
     * @param auxiliaryFan 局扇
     * @return 结果
     */
    public int updateAuxiliaryFan(AuxiliaryFan auxiliaryFan);

    /**
     * 删除局扇
     *
     * @param tagName 局扇主键
     * @return 结果
     */
    public int deleteAuxiliaryFanByTagName(String tagName);

    /**
     * 批量删除局扇
     *
     * @param tagNames 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAuxiliaryFanByTagNames(String[] tagNames);

    void updateBatch(List<AuxiliaryFan> auxiliaryFanList);

    List<AuxiliaryFan> getAllFanList();
}
